package com.loto.insurance.oem.web.db.mapper;

import java.util.List;

import com.loto.insurance.oem.web.entity.CustLevel;

public interface CustLevelMapper {

  List<CustLevel> findAllLevel();

  int insertLevel(CustLevel custLevel);

  int updateLevel(CustLevel custLevel);

  List<CustLevel> findAllLevelWithCount();

  CustLevel findLevelById(int levelId);

  int updateLevelWithoutName(CustLevel custLevel);

  CustLevel findLevelByName(String levelName);
}
